﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

using OfficialWeb.Core;

using SqlSugar;

namespace OOS.Core.User
{
    /// <summary>
    /// 用户个人信息管理
    /// </summary>
    [SugarTable("user_info")]
    public class UserInfo:IdBase
    {
        /// <summary>
        /// 用户id
        /// </summary>
        [SugarColumn(ColumnName = "user_id")]
        public int UserId { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        [SugarColumn(ColumnName = "name")]
        public String Name { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        [SugarColumn(ColumnName = "sex")]
        public String Sex { get; set; }
        /// <summary>
        /// 头像
        /// </summary>
        [SugarColumn(ColumnName = "image")]
        public String Image {  get; set; }
        /// <summary>
        /// 简介
        /// </summary>
        [SugarColumn(ColumnName = "description")]
        public String Description { get; set; }
    }
}
